home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / ac.xml < prev    next >
Text File  |  2002-08-30  |  1KB  |  41 lines

  1. <search function="ac">
  2.   <name>Area Code Info</name>
  3.   <description>
  4.     Search for information on a North American telephone area code.<br/>
  5.     <div class="helpboxDescLabels">Example:</div>
  6.     <table class="helpboxDescTable">
  7.           <tr><td>ac 741</td></tr>
  8.       </table>
  9.   </description>
  10.   <category>People and Places</category>
  11.   <link>http://www.getzips.com/</link>
  12.   <contributor>Stephen Montgomery</contributor>
  13.   <email>stephenmontgomery_at_ameritech_dot_net</email>
  14.   
  15.   <form name="acf" 
  16.         method="get" 
  17.         action="http://www.getzips.com/CGI-BIN/ziplook.exe">
  18.     <input type="hidden" name="What" value="4"/>
  19.     <input type="hidden" name="Area"/>
  20.   </form>
  21.   
  22.   <script><![CDATA[
  23.     function ac(q)
  24.     {
  25.       if( nullArgs("ac", q) )
  26.         return false;
  27.       else
  28.       {
  29.         if (result = q.match(/^(\d{3})\s*(.*)/))
  30.           document.acf.Area.value=result[1];
  31.         submitForm(acf);
  32.       }
  33.     }
  34.   ]]></script>
  35.   <copyright>
  36.     Copyright (c) 2002 David Bau
  37.     Distributed under the terms of the
  38.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  39.   </copyright>
  40. </search>
  41.